package com.example.service.impl;

import com.example.model.Test;
import com.example.service.TestService;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.web.bind.annotation.RestController;

@RefreshScope
@RestController
public class TestServiceImpl implements TestService{

    @Override
    public Test findOne() {
        Test test = new Test();
        test.setId("fdas21fdsa5");
        test.setName("这是测试十四hi是111111111111111111");
        return test;
    }

}
